Closed Bug 1765383 Opened 3 years ago Closed 3 years ago

TLS GatherBuffer improvements

Categories

(NSS :: Libraries, enhancement)

3.7.7
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: leander.schwarz, Assigned: leander.schwarz)

References

Details

Attachments

(1 file)

No description provided.
Summary: NSS debug builds: add advanced memory allocation and freeing for increased ASAN coverage. → TLS GatherBuffer improvments
Summary: TLS GatherBuffer improvments → TLS GatherBuffer improvements
  • Add freeing and (re-)allocation of gather cipher- and plaintext buffers to DEBUG builds for advanced ASAN coverage.

  • Reduce number of buffer (re-)allocations by allocating buffers on initialization.

Attachment #9272881 - Attachment description: Bug 1765383 - Debug builds: Gather buffer freeing/llocation after each record reception. r?djackson → Bug 1765383 - GatherBuffer: Reduced plain- and ciphertext buffer allocations by allocating them on initialization. Replaced redundant code with assert. Debug builds: Added buffer freeing/allocation for each record. r?djackson
Attachment #9272881 - Attachment description: Bug 1765383 - GatherBuffer: Reduced plain- and ciphertext buffer allocations by allocating them on initialization. Replaced redundant code with assert. Debug builds: Added buffer freeing/allocation for each record. r?djackson → Bug 1765383 - GatherBuffer: Reduced plaintext buffer allocations by allocating it on initialization. Replaced redundant code with assert. Debug builds: Added buffer freeing/allocation for each record. r?djackson
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: